import { axios } from '@/utils/request'

const api = {
    getOpenInfo: '/admin/ai/saas/member/getOpenInfo',
    openSaasAI: '/admin/ai/saas/member/open/saasAI'
}

/**
 * 获取开通信息
 */
export function getOpenInfo() {
    return axios({
        url: api.getOpenInfo,
        method: 'get',
    })
}

/**
 * 开通saasAI
 */
export function openSaasAI(data) {
    return axios({
        url: api.openSaasAI,
        method: 'post',
        data
    })
}

